package com.ruoyi.project.jiaqin.viprecord.domain;

import java.math.BigDecimal;
import java.util.Date;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import com.ruoyi.framework.web.domain.BaseEntity;

/**
 * 钻石VIP购买记录对象 jiaqin_buyvip_record
 * 
 * @author admin
 * @date 2021-01-04
 */
public class JiaqinBuyvipRecord extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    private String id;

    /** 购买用户ID */
    @Excel(name = "购买用户ID")
    private String memberId;

    /** 商户单号 */
    @Excel(name = "商户单号")
    private String recordId;

    /** 金额 */
    @Excel(name = "金额")
    private BigDecimal money;

    /** 状态 */
    @Excel(name = "状态")
    private Integer state;

    /** 生成时间 */
    @Excel(name = "生成时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date createAt;

    /** 支付时间 */
    @Excel(name = "支付时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date payAt;

    /** 微信支付订单号 */
    @Excel(name = "微信支付订单号")
    private String wxTransactionId;

    public void setId(String id) 
    {
        this.id = id;
    }

    public String getId() 
    {
        return id;
    }
    public void setMemberId(String memberId) 
    {
        this.memberId = memberId;
    }

    public String getMemberId() 
    {
        return memberId;
    }
    public void setRecordId(String recordId) 
    {
        this.recordId = recordId;
    }

    public String getRecordId() 
    {
        return recordId;
    }
    public void setMoney(BigDecimal money) 
    {
        this.money = money;
    }

    public BigDecimal getMoney() 
    {
        return money;
    }
    public void setState(Integer state) 
    {
        this.state = state;
    }

    public Integer getState() 
    {
        return state;
    }
    public void setCreateAt(Date createAt) 
    {
        this.createAt = createAt;
    }

    public Date getCreateAt() 
    {
        return createAt;
    }
    public void setPayAt(Date payAt) 
    {
        this.payAt = payAt;
    }

    public Date getPayAt() 
    {
        return payAt;
    }
    public void setWxTransactionId(String wxTransactionId) 
    {
        this.wxTransactionId = wxTransactionId;
    }

    public String getWxTransactionId() 
    {
        return wxTransactionId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("memberId", getMemberId())
            .append("recordId", getRecordId())
            .append("money", getMoney())
            .append("state", getState())
            .append("createAt", getCreateAt())
            .append("payAt", getPayAt())
            .append("wxTransactionId", getWxTransactionId())
            .toString();
    }
}
